package com.example.test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 叶刚诚
 * @create 2022-01-17-14:35
 */
@RestController
@RequestMapping("hello")
public class controller {
    @GetMapping
    public String h(){
        return "hello world";
    }

}
